package com.xinbochuang.machine.admin.domain.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 *
 * @author 黄晓鹏
 * @date 2020-09-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("SYS_USER_ROLE")
public class SysUserRole implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableId("USER_ID")
    private Integer userId;

    /**
     * 角色ID
     */
    @TableField("ROLE_ID")
    private Integer roleId;


}
